How to: Close the MS-DOS prompt window.
Solution:
Click the 'Close' button in the top right of the application's title bar or type EXIT at the DOS prompt.
Do one of the following:
1) If the MS-DOS prompt window is full-screen, type EXIT.
2) If the MS-DOS prompt is windowed, click the 'Close' button in the top right of the title bar.
'Close' button